package com.power.sifa.base.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
*  队列消费错误记录条件查询
*/

@Data
@ApiModel(value="队列消费错误记录条件查询")
@EqualsAndHashCode(callSuper = false)
public class Mq_logerrPageInfo extends BasePageInfo{

        @ApiModelProperty(value = "序号")
        private String f_id;
        @ApiModelProperty(value = "序号操作符")
        private String f_id_op = "=";
        @ApiModelProperty(value = "队列名")
        private String f_mqname;
        @ApiModelProperty(value = "队列名操作符")
        private String f_mqname_op = "like";

        @ApiModelProperty(value = "数据")
        private String f_mqdata;
        @ApiModelProperty(value = "数据操作符")
        private String f_mqdata_op = "like";

        @ApiModelProperty(value = "发生时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_exectime;
        @ApiModelProperty(value = "发生时间操作符")
        private String f_exectime_op = ">=";

        @ApiModelProperty(value = "发生时间_01", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_exectime_01;
        @ApiModelProperty(value = "发生时间操作符")
        private String f_exectime_01_op = "<=";

        @ApiModelProperty(value = "错误信息")
        private String f_errormsg;
        @ApiModelProperty(value = "错误信息操作符")
        private String f_errormsg_op = "like";

        @ApiModelProperty(value = "来源")
        private String f_source;
        @ApiModelProperty(value = "来源操作符")
        private String f_source_op = "like";

}
